<!--
 * @Description: 测试
 * @Author: ZhangHan
 * @Date: 2025-08-20 15:02:08
 * @LastEditTime: 2025-08-20 18:06:12
 * @LastEditors: ZhangHan
-->
<template>
  <view>内容</view>
</template>

<script setup lang="ts">
import { onMounted } from 'vue';
import { onLoad } from "@dcloudio/uni-app";
import { getCurrentRouteParams } from "@/utils/common";

onLoad(() => {
  const params = getCurrentRouteParams();
  console.log(params);
});

onMounted(()=>{
    const params = getCurrentRouteParams();
  console.log(params,'onMounted');
})
</script>
